package network;

public class Operations {
	public static final String PRIVATE_KEY_MOD = "19037192548401257122813412906623969839721885538107749353520972030888318802242192898276384842722426377656425042129340128868382780642365131402342239403389530257365555425531885567837332194139302675246051066343236368638095411073600564979354690446307263012377302939006232964133061817032459213357588137384212950686798640147991239355756029781494233674312158380128385143452361994172908792172466064728248887230532774767631092956546260682663989747064693269836567085525744639453408238297003078635843534948582711664176726486635833116575975321051684361545431083598788603725214215435416034761656696281471144294832218311449669856673";
	public static final String PRIVATE_KEY_EXP = "65537";
	public static final int REGISTER = 1;
	public static final int REGISTERATION_FAILED = 2;
	public static final int REGISTRATION_COMPLETE = 3;
	public static final int ACTIVATE = 4;
	public static final int ACTIVATE_FAILED = 5;
	public static final int ACTIVATE_COMPLETE = 6;
	public static final int LOGIN = 7;
	public static final int LOGIN_COMPLETE = 8;
	public static final int LOGIN_FAILED = 9;
	public static final int VOTE = 10;
	public static final int SELECT_VOTING = 11;
	public static final int GET_VOTE = 12;
	public static final int GET_VOTE_FAILED = 13;
	public static final int VOTE_COMPLETE = 14;
	public static final int VOTE_FAILED = 15;
	public static final int SELECT_VOTING_COMPLETE = 16;
	public static final int SELECT_VOTING_FAILED = 17;
	public static final int GET_VOTE_COMPLETE = 18;
	public static final int CREATE_VOTING = 19;
	public static final int CREATE_VOTING_COMPLETE = 20;
	public static final int CREATE_VOTING_FAILED = 21;
	public static final int USER_VIEW = 22;
	public static final int ADMIN_VIEW = 23;
	public static final int VOTED_BEFORE = 24;
	public static final int GET_ALL_VOTES = 25;
	public static final int CALCULATE_SUM = 26;
	public static final int GET_ALL_VOTINGS = 27;
	public static final int GET_ID = 28;
	public static final int CA = 29;   //temp
	public static final int GET_ADMIN_ID = 30;
	public static final int GET_CANDIDATES = 31;
	public static final int TOO_MANY_FAILED_ATTEMPS=32;
	public static final int GET_PUBLIC_KEY = 33;
	public static final int ADMIN_LOGIN = 34;
	public static final int ADMIN_LOGIN_FAILED = 35;
	public static final int ADMIN_LOGIN_COMPLETE = 36;
}
